import request from "@/utils/request";

export function listInspectionIssueRecording(query) {
  return request({
    url: "/scene/inspectionIssueRecording/list/data",
    method: "get",
    params: query
  });
}
// 查询现场巡查问题记录详细
export function getInspectionIssueRecording(id) {
  return request({
    url: "/scene/inspectionIssueRecording/" + id,
    method: "get"
  });
}

// 新增现场巡查问题记录
export function addInspectionIssueRecording(data) {
  return request({
    url: "/scene/inspectionIssueRecording",
    method: "post",
    data: data
  });
}

// 修改现场巡查问题记录
export function updateInspectionIssueRecording(data) {
  return request({
    url: "/scene/inspectionIssueRecording",
    method: "put",
    data: data
  });
}

// 删除现场巡查问题记录
export function delInspectionIssueRecording(id) {
  return request({
    url: "/scene/inspectionIssueRecording/" + id,
    method: "delete"
  });
}
